package com.yeyks.commonReference.pojo.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;
import java.util.List;

/**
 * @author: dagny
 * @date: 2019/8/21 0021 19:33
 */
@Data
@ApiModel(description = "添加运营商，服务商，卡商输入参数")
public class AddBusinessParam implements Serializable {

    private static final long serialVersionUID = 6752564744762560482L;


    @ApiModelProperty(value = "用于账户登陆的账户名")
    private String username;

    private String password;

    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "固定电话")
    private String tel;

    @ApiModelProperty(value = "真实姓名")
    @NotBlank(message="姓名不能为空")
    private String name;

    @ApiModelProperty(value = "妮称")
    private String nickname;

    @ApiModelProperty(value = "账户区域")
    private String area;

    @ApiModelProperty(value = "省份代码")
    private String provinceCode;

    @ApiModelProperty(value = "市代码")
    private String cityCode;

    @ApiModelProperty(value = "区县代码")
    private String countryCode;

    @ApiModelProperty(value = "地址详情")
    private String addressDetail;

    @ApiModelProperty(value = "账号类型 10;运营商 12;卡商；20小v运营商，22小v卡商",
            allowableValues = "10,12,20,21,22")
    private Integer type;

    @ApiModelProperty("所在部门ID")
    private Integer deptId;

    @ApiModelProperty("角色")
    private List<Long> roleIdList;


}
